package com.qqtech.qquan.hi.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.common.util.TimeUtil;

@SuppressWarnings("serial")
public class HiRuleResultQuery extends HiRuleResult{
	
	/**
	 * 查询开始时间
	 */
	private java.sql.Timestamp startAt;
	/**
	 * 查询结束时间
	 */
	private java.sql.Timestamp endAt;
	
	/**
	 * 用户呢称【查询】
	 */
	private java.lang.String userNick;
	/**
	 * 用户电话号码【查询】
	 */
	private java.lang.String userPhone;
	
	public java.sql.Timestamp getStartAt() {
		return startAt;
	}

	public void setStartAt(java.sql.Timestamp startAt) {
		this.startAt = startAt;
	}

	public java.sql.Timestamp getEndAt() {
		return endAt;
	}

	public void setEndAt(java.sql.Timestamp endAt) {
		this.endAt = endAt;
	}
	
	public void setStartAtStr(String v) {
		this.setStartAt(TimeUtil.getTimeByDatetimeLocal(v));
	}
	
	public void setEndAtStr(String v) {
		this.setEndAt(TimeUtil.getTimeByDatetimeLocal(v));
	}



	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

	public java.lang.String getUserNick() {
		return userNick;
	}

	public void setUserNick(java.lang.String userNick) {
		this.userNick = userNick;
	}

	public java.lang.String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(java.lang.String userPhone) {
		this.userPhone = userPhone;
	}
}